using System;
using Newtonsoft.Json;

namespace FBGraph.Models
{
    /// <summary>Represents the <see cref="User" /> or <see cref="Page" /> that created an Graph API object</summary>
    public partial class Owner
    {
        /// <summary>The name of the <see cref="User" /> or <see cref="Page" /> that created an Graph API object</summary>
        [JsonPropertyAttribute("name")]
        public String Name { get; set; }
        
        /// <summary>The Graph API id of the <see cref="User" /> or <see cref="Page" /> that created an Graph API object</summary>
        [JsonPropertyAttribute("id")]
        public Int64 Id { get; set; }
        
        /// <summary>For Graph API objects that were created by a <see cref="Page" />, the category of <see cref="Page" /> that created the object</summary>
        [JsonPropertyAttribute("category")]
        public String Category { get; set; }
    }
}